$(function () {
    $("#head").load("/html/head.html");
    $("#foot").load("/html/foot.html");
    seletContantUs();
})
function seletContantUs() {
    let data = myAjax("/contact us","","get");
    let model = data.model;
    let list = data.list;
    $("#location").text("地址："+model.location);
    $("#contactphone").text("联系（咨询）电话："+model.contactphone);
    $("#orderphone").text("预约（挂号）电话："+model.orderphone);
    $("#email").text("邮箱："+model.email);
    $("#net").text("网址："+model.net);
    $("#line").text("乘车路线："+model.line);
    $("#wechat").text("官方微博："+model.wechat);
    $("#twitter").text("官方微博："+model.twitter);

    $("#main").attr("href",list[0].href);
    $("#main").text(list[0].title);
    $("#now").attr("href",list[5].href);
    $("#now").text(list[5].title);
}